export const isIOS = () => {
  let sysVersion = uni.getSystemInfoSync().system
  return sysVersion.startsWith('iOS')
 }
  
/**
* 弹出toast
* @param {string} title title
* @param {*} icon success / loading / none
*/
export const showToast=(title, icon = 'success')=> {
	setTimeout(() => {
	  uni.showToast({
		title: title,
		icon: icon,
		mask: true,
		duration: 1000
	  })
	}, 200)
}
